package com.recive.tarms.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import com.recive.tarms.model.Flight;

@Component
@Mapper
public interface FlightMapper {
    int deleteByPrimaryKey(Integer flightId);

    int insert(Flight record);

    int insertSelective(Flight record);

    Flight selectByPrimaryKey(Integer flightId);

    int updateByPrimaryKeySelective(Flight record);

    int updateByPrimaryKey(Flight record);
    
    List<Flight> selectAllFlight();
}